package com.zryc.shop.sms.service;

import com.zryc.shop.sms.entity.FlashPromotionSession;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 限时购场次表 服务类
 * </p>
 *
 * @author zhaozhao
 * @since 2024-01-18
 */
public interface IFlashPromotionSessionService extends IService<FlashPromotionSession> {

    /**
     * 更新秒杀时间段
     *
     * @param id
     * @param session
     * @return
     */
    Object updateTime(Long id, FlashPromotionSession session);

    /**
     * 修改状态
     *
     * @param id
     * @param status
     * @return
     */
    Object updateStatus(Long id, Integer status);

    /**
     * 查询活动对应的时间段列表
     *
     * @param flashPromotionId
     * @return
     */
    Object selectList(Long flashPromotionId);
}
